package com.blackcat.recode.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import java.io.Serializable;
    import java.util.List;

    import lombok.Getter;
    import lombok.NoArgsConstructor;
    import lombok.Setter;

/**
* <p>
* 项目信息表
* </p>
*
* @author blackcat 2024-09-10
*/
@Getter
@Setter
@NoArgsConstructor
public class Project extends Model<Project> {

    /**
    * 主键
    */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
    * 项目名称
    */
    private String projectName;

    /**
     * 项目说明
     */
    private String projectExplain;

    @TableField(exist = false)
    List<ServiceInfo> serviceInfoList;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
}